package com.juzipi.inter.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.juzipi.inter.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Time;

/**
 * @Author juzipi
 * @Date 2021/4/14 15:50
 * @Info 试卷表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "paper")
public class Paper extends BaseEntity {


    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    //试卷名称
    private String title;

    //试卷状态id
    private Long paperStatusId;

    //总分
    private Double totalScore;

    //试卷考试时间
    private Time examTime;

    //难易度
    private Double difficulty;

    //通过分数
    private Double passScore;

    //描述
    private String info;

}
